Optimal. Leaf size=79 \[ -\frac {32 \sqrt {3-x}}{3 \sqrt {x-2}}-\frac {16 \sqrt {3-x}}{3 (x-2)^{3/2}}+\frac {4}{(x-2)^{3/2} \sqrt {3-x}}+\frac {2}{3 (x-2)^{3/2} (3-x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {45, 37} \[ -\frac {32 \sqrt {3-x}}{3 \sqrt {x-2}}-\frac {16 \sqrt {3-x}}{3 (x-2)^{3/2}}+\frac {4}{(x-2)^{3/2} \sqrt {3-x}}+\frac {2}{3 (x-2)^{3/2} (3-x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 45
Rubi steps
\begin {align*} \int \frac {1}{(3-x)^{5/2} (-2+x)^{5/2}} \, dx &=\frac {2}{3 (3-x)^{3/2} (-2+x)^{3/2}}+2 \int \frac {1}{(3-x)^{3/2} (-2+x)^{5/2}} \, dx\\ &=\frac {2}{3 (3-x)^{3/2} (-2+x)^{3/2}}+\frac {4}{\sqrt {3-x} (-2+x)^{3/2}}+8 \int \frac {1}{\sqrt {3-x} (-2+x)^{5/2}} \, dx\\ &=\frac {2}{3 (3-x)^{3/2} (-2+x)^{3/2}}+\frac {4}{\sqrt {3-x} (-2+x)^{3/2}}-\frac {16 \sqrt {3-x}}{3 (-2+x)^{3/2}}+\frac {16}{3} \int \frac {1}{\sqrt {3-x} (-2+x)^{3/2}} \, dx\\ &=\frac {2}{3 (3-x)^{3/2} (-2+x)^{3/2}}+\frac {4}{\sqrt {3-x} (-2+x)^{3/2}}-\frac {16 \sqrt {3-x}}{3 (-2+x)^{3/2}}-\frac {32 \sqrt {3-x}}{3 \sqrt {-2+x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 0.42 \[ \frac {-32 x^3+240 x^2-588 x+470}{3 \left (-x^2+5 x-6\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 49, normalized size = 0.62 \[ -\frac {2 \, {\left (16 \, x^{3} - 120 \, x^{2} + 294 \, x - 235\right )} \sqrt {x - 2} \sqrt {-x + 3}}{3 \, {\left (x^{4} - 10 \, x^{3} + 37 \, x^{2} - 60 \, x + 36\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.10, size = 97, normalized size = 1.23 \[ -\frac {{\left (\sqrt {-x + 3} - 1\right )}^{3}}{12 \, {\left (x - 2\right )}^{\frac {3}{2}}} - \frac {11 \, {\left (\sqrt {-x + 3} - 1\right )}}{4 \, \sqrt {x - 2}} - \frac {2 \, {\left (8 \, x - 25\right )} \sqrt {x - 2} \sqrt {-x + 3}}{3 \, {\left (x - 3\right )}^{2}} + \frac {{\left (x - 2\right )}^{\frac {3}{2}} {\left (\frac {33 \, {\left (\sqrt {-x + 3} - 1\right )}^{2}}{x - 2} + 1\right )}}{12 \, {\left (\sqrt {-x + 3} - 1\right )}^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 30, normalized size = 0.38 \[ -\frac {2 \left (16 x^{3}-120 x^{2}+294 x -235\right )}{3 \left (x -2\right )^{\frac {3}{2}} \left (-x +3\right )^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.34, size = 59, normalized size = 0.75 \[ \frac {32 \, x}{3 \, \sqrt {-x^{2} + 5 \, x - 6}} - \frac {80}{3 \, \sqrt {-x^{2} + 5 \, x - 6}} + \frac {4 \, x}{3 \, {\left (-x^{2} + 5 \, x - 6\right )}^{\frac {3}{2}}} - \frac {10}{3 \, {\left (-x^{2} + 5 \, x - 6\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.37, size = 69, normalized size = 0.87 \[ -\frac {32\,{\left (x-2\right )}^3\,\sqrt {3-x}-48\,{\left (x-2\right )}^2\,\sqrt {3-x}+2\,\sqrt {3-x}+12\,\left (x-2\right )\,\sqrt {3-x}}{\left (3\,x-6\right )\,\sqrt {x-2}\,{\left (x-3\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 9.85, size = 282, normalized size = 3.57 \[ \begin {cases} - \frac {32 \sqrt {-1 + \frac {1}{x - 2}} \left (x - 2\right )^{3}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} + \frac {48 \sqrt {-1 + \frac {1}{x - 2}} \left (x - 2\right )^{2}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} - \frac {12 \sqrt {-1 + \frac {1}{x - 2}} \left (x - 2\right )}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} - \frac {2 \sqrt {-1 + \frac {1}{x - 2}}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} & \text {for}\: \frac {1}{\left |{x - 2}\right |} > 1 \\- \frac {32 i \sqrt {1 - \frac {1}{x - 2}} \left (x - 2\right )^{3}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} + \frac {48 i \sqrt {1 - \frac {1}{x - 2}} \left (x - 2\right )^{2}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} - \frac {12 i \sqrt {1 - \frac {1}{x - 2}} \left (x - 2\right )}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} - \frac {2 i \sqrt {1 - \frac {1}{x - 2}}}{3 x + 3 \left (x - 2\right )^{3} - 6 \left (x - 2\right )^{2} - 6} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________